package com.vkmessenger.gui.activities.contacts;

import com.android.internal.util.Predicate;
import com.vkmessenger.net.json.FriendsResponse;

/**
 * Created by IntelliJ IDEA.
 * User: Evgeniy Krasko
 * Date: 30.05.12
 * Time: 13:15
 */
public class FriendsActivity extends CommonContactsActivity {
    public static final String FIELDS_NEEDED_FOR_LIST = "uid,first_name,last_name,photo";


    @Override
    protected boolean drawOnline() {
        return true;
    }

    @Override
    public Predicate<FriendsResponse.FriendResponse> getFilter() {
        return getFilterByName(search.getText().toString());
    }

}
